<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>日记详情 - 日记小程序</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
        body {
            background-color: #fff;
            color: #333;
            padding-bottom: 60px;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
            background-color: #fff;
            position: relative;
        }
        .back-btn {
            color: #999;
            font-size: 18px;
        }
        .title {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-size: 16px;
            font-weight: bold;
        }
        .more-btn {
            color: #999;
            font-size: 18px;
        }
        .diary-meta {
            display: flex;
            justify-content: space-between;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        .diary-date {
            color: #666;
            font-size: 14px;
        }
        .diary-weather {
            display: flex;
            align-items: center;
            color: #666;
            font-size: 14px;
        }
        .weather-icon {
            margin-right: 5px;
            color: #f8b62d;
        }
        .diary-mood {
            display: inline-block;
            padding: 2px 8px;
            background-color: #e1f5ea;
            color: #42b983;
            border-radius: 10px;
            font-size: 12px;
            margin: 0 15px 15px;
        }
        .diary-content {
            padding: 0 15px 15px;
            font-size: 14px;
            line-height: 1.6;
        }
        .image-gallery {
            padding: 0 15px 15px;
        }
        .gallery-item {
            width: 100%;
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 10px;
        }
        .gallery-item img {
            width: 100%;
            display: block;
        }
        .diary-location {
            display: flex;
            align-items: center;
            padding: 0 15px 15px;
            color: #999;
            font-size: 12px;
        }
        .location-icon {
            margin-right: 5px;
        }
        .footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            padding: 10px 15px;
            background-color: #fff;
            border-top: 1px solid #eee;
        }
        .footer-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #999;
            font-size: 10px;
        }
        .footer-btn i {
            font-size: 20px;
            margin-bottom: 3px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="back-btn">
            <i class="fas fa-chevron-left"></i>
        </div>
        <div class="title">日记详情</div>
        <div class="more-btn">
            <i class="fas fa-ellipsis-vertical"></i>
        </div>
    </div>

    <div class="diary-meta">
        <div class="diary-date">2023年4月18日 星期二</div>
        <div class="diary-weather">
            <div class="weather-icon">
                <i class="fas fa-sun"></i>
            </div>
            <span>晴</span>
        </div>
    </div>

    <div class="diary-mood">开心</div>

    <div class="diary-content">
        <p>今天是美好的一天，早上去公园跑步，遇到了许多可爱的小狗。空气清新，阳光明媚，跑完步后感觉神清气爽。</p>
        <p>中午和朋友一起在新开的餐厅吃了午饭，菜品很丰富，特别是那个牛排，简直太美味了！</p>
        <p>下午完成了所有工作任务，比预期提前了一天，老板很满意，还表扬了我。</p>
        <p>晚上回家路上买了一束花，打算周末去看望父母。今天真的是很充实的一天！</p>
    </div>

    <div class="image-gallery">
        <div class="gallery-item">
            <img src="https://picsum.photos/id/237/600/400" alt="日记图片">
        </div>
        <div class="gallery-item">
            <img src="https://picsum.photos/id/1060/600/400" alt="日记图片">
        </div>
    </div>

    <div class="diary-location">
        <div class="location-icon">
            <i class="fas fa-location-dot"></i>
        </div>
        <span>北京市朝阳区中央公园</span>
    </div>

    <div class="footer">
        <div class="footer-btn">
            <i class="fas fa-share-alt"></i>
            <span>分享</span>
        </div>
        <div class="footer-btn">
            <i class="fas fa-edit"></i>
            <span>编辑</span>
        </div>
        <div class="footer-btn">
            <i class="fas fa-trash"></i>
            <span>删除</span>
        </div>
    </div>
</body>
</html> 